python idle shell 清屏(Python怎么清屏)

时间:2024-10-18 来源:
python idle 清屏shell窗口:
1.下载 clearwindow.py (https://bugs.python.org/file14303/ClearWindow.py)
2.存放到C:\Users\bj\AppData\Local\Programs\Python\Python36\Lib\idlelib下面
3.在这个目录下找到config-extensions.def文件末尾加上
[ClearWindow]
enable=1
enable_editor=0
enable_shell=1
[ClearWindow_cfgBindings]
clear-window=<Control-Key-x>
4.然后保存退出就可以了
打开python的idle,看看options是不是多了一个选项clear shell window ctrl+x

【python idle shell 清屏(Python怎么清屏) 】相关文章:

Python While循环语句 2024-04-09

python,for循环 2024-04-09

Python 条件语句 2024-03-27

Python 运算符 2024-03-27

Python 变量类型 2024-03-27

第二节:python的input函数用法 2024-03-26

python idle shell 清屏(Python怎么清屏) 2024-10-18

Python While循环语句 2024-04-09

python,for循环 2024-04-09